package com.yc.mysql.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SpHall {
    private Integer id;
    private String name;
    private Boolean is3d;
    private String size;
    private Integer seats;

    // 一对多
    private List<SpPlan> plans;

    // 多对多
    private List<SpMovie> movies;
}
